﻿using System;

namespace Problem_3_Sand_Clock
{
    class Program
    {
        static void Main()
        {
            string line = Console.ReadLine();
            int n = int.Parse(line);

            for (int i = 0; i <= n / 2; i++)
            {
                string dots = new string('.', i);
                string stars = new string('*', n - 2 * i);
                Console.WriteLine("{0}{1}{2}", dots, stars, dots);
            }

            for (int i = n / 2 - 1; i >= 0; i--)
            {
                string dots = new string('.', i);
                string stars = new string('*', n - 2 * i);
                Console.WriteLine("{0}{1}{2}", dots, stars, dots);
            }
        }
    }
}
